package com.pvdnc.riru;

public class BitUtils {
    public static int addFlag(int flag,int flagToAdd){
        //GetAccessFlags() | access_flags
        return flag | flagToAdd;
    }

    public static boolean hasFlag(int flag,int verifyFlag){
        // (access_flags & GetAccessFlags()) != 0;
        return (flag & verifyFlag)!=0;
    }
}
